package zhupf.test.designPattern.bridge;

public class FoldedPhone extends Phone {

    public FoldedPhone(Brand brand){
        this.brand = brand;
    }

    @Override
    public void openPhone() {
        this.brand.openPhone();
        System.out.println("折叠样式手机");
    }

    @Override
    public void call() {
        this.brand.call();
        System.out.println("折叠样式手机");
    }

    @Override
    public void closePhone() {
        this.brand.closePhone();
        System.out.println("折叠样式手机");
    }
}
